package com.cet.regularexpression;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-06-24 15:40
 **/
public class Main15 {

    public static void main(String[] args) {
        String s = "{ZIDCARDTYPE=01, ZSAMPLESEX=女, ZPROJECTNAME=, ZNATIVEPLACE=, ZIDCARD=, ZBIRTHDATE=1965-03-26, ZSAMPLEAGE=53, invoiceRise=李, ZNATIONALTILY=汉族}";
        String r = s.replaceAll("=", ":");
        String r1 = r.replaceAll(":,", ":\"\",");
        String r2 = r1.replaceAll(":}", ":\"\"}");
        System.out.println(r2);
    }
}
